package com.banfan.almond.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.banfan.almond.base.entity.SuperEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;


import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author banfan
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_category_menu")
public class CategoryMenu extends SuperEntity<CategoryMenu> {

    private static final long serialVersionUID = 1L;
    /**
     * 菜单名称
     */
    private String name;
    /**
     * 菜单级别
     */
    private Boolean menuLevel;
    /**
     * 简介
     */
    private String summary;
    /**
     * 父uid
     */
    private String parentUid;
    /**
     * url地址
     */
    private String url;
    /**
     * 图标
     */
    private String icon;
    /**
     * 排序字段，越大越靠前
     */
    private Integer sort;
    /**
     * 是否显示 1:是 0:否
     */
    private Boolean isShow;
    /**
     * 菜单类型 0: 菜单   1: 按钮
     */
    private Boolean menuType;
    /**
     * 是否跳转外部链接 0：否，1：是
     */
    private Boolean isJumpExternalUrl;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
